Ext.define('HIT.store.ErrorDetail', {
    extend: 'Ext.data.Store',
    requires: [
               'HIT.model.ErrorDetail'
           ],
    constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        me.callParent([Ext.apply({
            storeId: 'ErrorDetail',   
            autoLoad: false,
            autoSync: false,
            model: 'HIT.model.ErrorDetail',
            proxy: {         
                type: 'ajax',
                //url: 'resources/data/Company.json',
                url: 'getErrorDetailList',
                reader: {
                    type: 'json',
                    root: 'data'
                }
            }
        }, cfg)]);
    }
});